package com.solo.eggsolo.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
/**
 * @description admin
 * @author yu
 * @date 2022-06-16
 */
public class Admin implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
    * 管理id
    */
    private Integer id;

    /**
    * 管理账号
    */
    private String name;

    /**
    * 密码
    */
    private String password;

    /**
    * 电话号码
    */
    private String phone;

    /**
    * 注册时间
    */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;


    public Admin() {
    }


	public Integer getId() {
		return id;
	}


	public void setId(Integer id) {
		this.id = id;
	}


	public String getName() {
		return name;
	}


	public void setName(String name) {
		this.name = name;
	}


	public String getPassword() {
		return password;
	}


	public void setPassword(String password) {
		this.password = password;
	}


	public String getPhone() {
		return phone;
	}


	public void setPhone(String phone) {
		this.phone = phone;
	}


	public Date getCreateTime() {
		return createTime;
	}


	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}


	@Override
	public String toString() {
		return "Admin [id=" + id + ", name=" + name + ", password=" + password + ", phone=" + phone + ", createTime="
				+ createTime + "]";
	}

    
}